{strip}
	{legend legend="Moderation Settings"}
		{form}
			<input type="hidden" name="page" value="{$page}" />
			{foreach from=$formModerateLists item='settings' key='section'}
				{legend legend=$section}
					{foreach from=$settings item='output' key='op_id'}
						<div class="row">
							{formlabel label=$output.label for=$op_id}
							{forminput}
								{if $output.type == 'checkbox'}
									{html_checkboxes name="$op_id" values="y" selected=$output.value labels=false id=$op_id}
								{elseif $output.type == 'option'}
									<select name="{$op_id}" id="{$op_id}">
										{foreach from=$output.options item='op_text' key='op_value'}
											<option value="{$op_value}" {if $output.value eq $op_value} selected="selected"{/if}>{$op_text}</option>
										{/foreach}
									</select>
								{else}
									<input type="text" size="50" name="{$op_id}" id="{$op_id}" value="{$output.value|escape}" />
								{/if}
								{formhelp note=`$output.note` page=`$output.page` link=`$output.link`}
							{/forminput}
						</div>
					{/foreach}
				{/legend}
			{/foreach}
		<div class="row submit">
			<input type="submit" name="listTabSubmit" value="{tr}Change Settings{/tr}" />
		</div>
		{/form}
	{/legend}
{/strip}
